package com.edt.ichannel.admin.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Cmbatch实体类
 *
 * @author
 */
public class Cmbatch extends Log implements Serializable {

    private static final long serialVersionUID = 5535402236886884555L;
    private String id;
    private Integer batchState;
    private String mechanismsId;
    private Date expireat;
    private Date addtime;
    private Integer cmCount;
    private String batchCode;
    private String adduser;
    private String batchName;
    private Integer integral;
    /**
     * 已使用数量
     */
    private Integer used;
    /**
     * 渠道名称
     */
    private String mechanismsName;
    /**
     * 生成串码长度
     */
    private Integer cmLength;

    public Integer getCmLength() {
        return cmLength;
    }

    public void setCmLength(Integer cmLength) {
        this.cmLength = cmLength;
    }

    public String getMechanismsName() {
        return mechanismsName;
    }

    public void setMechanismsName(String mechanismsName) {
        this.mechanismsName = mechanismsName;
    }

    public String getMechanismsId() {
        return mechanismsId;
    }

    public void setMechanismsId(String mechanismsId) {
        this.mechanismsId = mechanismsId;
    }

    public Integer getUsed() {
        return used;
    }

    public void setUsed(Integer used) {
        this.used = used;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getBatchState() {
        return batchState;
    }

    public void setBatchState(Integer batchState) {
        this.batchState = batchState;
    }

    public Date getExpireat() {
        return expireat;
    }

    public void setExpireat(Date expireat) {
        this.expireat = expireat;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Integer getCmCount() {
        return cmCount;
    }

    public void setCmCount(Integer cmCount) {
        this.cmCount = cmCount;
    }

    public String getBatchCode() {
        return batchCode;
    }

    public void setBatchCode(String batchCode) {
        this.batchCode = batchCode;
    }

    public String getAdduser() {
        return adduser;
    }

    public void setAdduser(String adduser) {
        this.adduser = adduser;
    }

    public String getBatchName() {
        return batchName;
    }

    public void setBatchName(String batchName) {
        this.batchName = batchName;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

}